package com.newsystem.mapper;

import com.newsystem.pojo.News;
import com.newsystem.pojo.TGood;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 用户对新闻的点赞 Mapper 接口
 * </p>
 *
 * @author chenlitao
 * @since 2022-11-06
 */
@Mapper
public interface TGoodMapper extends BaseMapper<TGood> {

    int deleteTGood(String userId,String newsId);

    TGood selectTGood(String userId, String newsId);
}
